<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                	<div class="row">
                		 <div class="form-group">
                    		<label class="col-sm-3 control-label" >卡号:</label>
                    		<div class="col-sm-5">
                    			<input type="text"  value="{$model.card_no}" readonly  required="required"  name="card_no" class="form-control" id="card_no"/>
                    		</div>
                    		<div class="col-sm-1">
                    			 <div class="btn-primary btn" id="form-submit">提交</div>
                    		</div>
                    		<div class="col-sm-1">
                    			 <div class="btn-default btn" data-dismiss="modal">关闭</div>
                    		</div>
                   		 </div>
                	</div>
                    
                    <div class="form-group col-sm-12">
                    		<label class="col-sm-3 control-label" >会员姓名:</label>
                    		<div class="col-sm-6">
                    			<input type="text" id="name"  name="name" value="{$model.name}" readonly class="form-control">
                    		</div>
                    	</div>
                    <div class="form-group col-sm-12">
                    		<label class="col-sm-3 control-label" >会员手机号:</label>
                    		<div class="col-sm-6">
                    			<input type="text" id="mobile"  name="mobile" value="{$model.mobile}" readonly class="form-control">
                    		</div>
                    </div>	
                    <div class="form-group col-sm-12">
                    		<label class="col-sm-3 control-label" >门禁权限:</label>
                    		<div class="col-sm-6">
                    			{foreach name="doors" item="v"}
	                    			<div class="checkbox" style="display: inline-block;">
	                    				<label class="label label-warning">
	                    					<input type="checkbox" name="door_ids[]"  {in name="v.code" value="$doors_auth"}checked{/in}  value="{$v.code}" />
	                    					{$v.name}
	                    				</label>
	                    			</div>
	                    			&nbsp;&nbsp;&nbsp;&nbsp;
                    			{/foreach}
                    		</div>
                    </div>	
                   
                    <input type="hidden" id="id" value="{$model.id}" name="id"/>
                </form>
            </div>
            <div class="panel-footer">
                <div class="row">
                    <div class="col-sm-6 col-sm-offset-3">
                        <div class="btn-toolbar">
                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}member/auth.js'></script>